#pragma once
#include "stockrepo.h"
#include "StockSearchCondition.h"

class CStockRepoNonDB :
	public CStockRepo
{
public:
	CStockRepoNonDB(void);
	~CStockRepoNonDB(void);

public:
	virtual BOOL UpdateAllRecord(CList<CStock, CStock&> * pStockList);
	virtual BOOL UpdateCategory(CList<CString, CString&> * category);
	virtual BOOL AddRecord(CStock* stock);
	virtual BOOL SearchByCondition(CStockSearchCondition* condition);
	virtual BOOL EditbyCondition(CString itemCode, CStock* editedStock);

	virtual BOOL StockEnter(CStockEnter* stockEnter);
	virtual BOOL LookUpEnterRecord(CStockEnterRecord* pStockEnterRecord);
};
